<?php 
include($GLOBALS['PAD']."Modules/CentrodeCustos/obj.php");
	$GET = $GLOBALS['MYD']->db_array("SELECT name,CODE,ParentCODE,Type
		FROM ccenter_contas WHERE Type IN (0,1) ORDER BY ccenter_contas.CODE ASC"); 
	echo '<div class="title">Plano de Contas</div>';
	TreeNode(0,$GET);
?>